package bb.lanxing.lib.devices.core.ble;

import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import bb.lanxing.lib.devices.api.PeerDevice;

public interface IGattClient extends PeerDevice {
    public static final int ERROR_NONE = 0x0;
    public static final int ERROR_BLUETOOTH = 0x100;
    public static final int ERROR_TIMEOUT = 0x200;
    public static final int ERROR_CONNECT_LOSE = 0x800;
    public static final int ERROR_NOT_FOUND_DEVICE = 0x1000;
    public static final int ERROR_DEVICE_BUSY = 4352;

    BluetoothDevice getBluetoothDevice();

    BluetoothGatt getBluetoothGatt();
}